package com.jgb.lease.web.app.service;

import com.jgb.lease.web.app.vo.user.LoginVo;
import com.jgb.lease.web.app.vo.user.UserInfoVo;

public interface LoginService {

    /**
     * 发送手机验证码
     * @param phone
     * @throws Exception
     */
    void sendCode(String phone) throws Exception;

    String login(LoginVo loginVo);

    UserInfoVo getUserInfoById(Integer id);
}
